#include <iostream>

#include "rational.h"

using namespace std;

int main() {
	rational<int> rat, ratt(2), ra(1, 2), r1(2, 3), r2(3, 4);
	cerr << double(r1 / r2) << endl;
	int a = 2;
	(++a) *= 2;
	(a /= 2) *= 2;
	(rat /= ratt) *= ratt;
	cerr << a << endl;
	rat + ratt;
	rat != ratt;
	rat = -rat;
	rat / ratt;
	rat + ratt;
	rat - ratt;
	rat *= ratt;
	rat = ratt;
	bool aaaa = rat != ratt;
	cerr << aaaa << endl;
	++rat;
	rat++;
	cerr << double(rat) * 2;
	cerr << " " << (rat >= ratt) << endl;
	rational<int> m(1);
	cerr << double(m) << " ";
	cerr << double(++m) << " ";
	cerr << double(m++) << " ";
	cerr << double(m) << " ";
	return 0;
}
